package com.da.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.da.auth.entity.DailyPermissions;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 权限表(DailyPermissions)表数据库访问层
 *
 * @author makejava
 * @since 2025-01-21 09:47:42
 */
@Mapper
public interface DailyPermissionsMapper extends BaseMapper<DailyPermissions> {



    int queryCountByCondition(@Param("field")String field,@Param("field1") String field1);

    int addPermission(@Param("dailyPermissions") DailyPermissions dailyPermissions);

    List<DailyPermissions> selectPage(@Param("offset") int offset, @Param("pageSize") int pageSize);

    int selectCount();


}

